package com.oracle.application.mapper;

import com.oracle.application.entity.Book;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author wushaoxiong
 * @since 2021-07-06
 */
@Mapper
public interface BookMapper extends BaseMapper<Book> {

    @Select("select * from book where bookname=#{bookName}")
   Book getBookName(String bookName);
}
